import axios from '@/libs/api.request'

/**
 * 报表定制--表具性能
 * @return {[type]}        [description]
 */
export const fetchMeterPerforms = (data) => {
  return axios.request({
    url: '/api/meterManage/meyerQuery/getMeterBeanListPage',
    method: 'post',
    data
  })
}

/**
 * 报表定制--功耗优化
 * @return {[type]}        [description]
 */
export const fetchPowerOptimization = (params) => {
  return axios.request({
    url: '/api/cycle/getMeterPeriodPagedByGasClass',
    method: 'get',
    params
  })
}

/**
 * 报表定制--数据缺失
 * @return {[type]}        [description]
 */
export const fetchMissingData = (params) => {
  return axios.request({
    url: '/api/localDataMonth/getMeterListPaged',
    method: 'get',
    params
  })
}

/**
 * 报表定制--表具匹配
 * @return {[type]}        [description]
 */
export const fetchMeterMatching = (params) => {
  return axios.request({
    url: '/api/dev/getMeterList',
    method: 'get',
    params
  })
}
